Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new MQTT API #222

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Added new MQTT API #222

wants to merge 24 commits into from

Conversation

warenext
Copy link

@warenext warenext commented Nov 6, 2021

I'm in the process of building my own custom weather station to integrate into my Homekit-based smart home, using Arduino and some sensors, and I plan to use MQTT to relay data back to a Raspberry Pi running Homebridge and the mosquitto MQTT broker. As homebridge-weather-plus didn't yet support MQTT, but did have ways of reading JSONs, I'd like to contribute a new API to support getting the JSON from an MQTT broker, as well as supporting two new observations (which unfortunately can't be displayed in Eve App) based on data from the Austrian Microsystems (AMS) AS3935 Lighting Sensor. (Your use of changing the name of the Homekit accessories to display new data is ingenious, by the way!) While I haven't tested my code yet, Github says it can be "automatically merged" (which sounds good 😉).

Thanks also to CHAMLEX, whose WeeWX API code I used as a template for how to do this.

@warenext
Copy link
Author

warenext commented Nov 7, 2021

O.K., I think I've got my code settled down now. Now I've got to build the other side of it on the Arduino to publish some test data...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant